package cn.org.cute.ebocy.config;

import java.util.HashMap;

/**
 * API方法状态配置
 * @Copyright©2011, 2011 EBO CHANGYOU Co.td. All rights reserved.
 * @Version 1.0.0
 * @since jdk1.6
 * @author xiaolei
 * @date 2011-12-5
 */
public class MethodConfig {
public 	final static int API_NORMAL = 1;//API正常
public 	final static int API_DEVELOP = 0;//API开发中
public final static int API_INVALID = 2;//API以过期作废
public final static int API_AUTHORIZE = 3;//API 需要授权

public final static HashMap<String,Integer> METHOD_CONFIG = new HashMap<String,Integer>();
static{
	METHOD_CONFIG.put(ApiMethod.USER_GETINFO.getMethodName(), API_NORMAL);	//user.getIngfo 正常
	METHOD_CONFIG.put(ApiMethod.USER_GETINFOS.getMethodName(), API_NORMAL);	//user.getIngfos 正常
	METHOD_CONFIG.put(ApiMethod.USER_ISAPPUSER.getMethodName(), API_NORMAL);	//user.isAppUser 正常
	METHOD_CONFIG.put(ApiMethod.FRIENDS_GETAPPFRIENDS.getMethodName(), API_NORMAL);	//friends.getAppFriends 正常
    METHOD_CONFIG.put(ApiMethod.FRIENDS_GETFRIENDS.getMethodName(), API_NORMAL);	//friends.getFriends 正常
    METHOD_CONFIG.put(ApiMethod.PAGE_ISFAN.getMethodName(), API_NORMAL);	//page.isFan 正常
    METHOD_CONFIG.put(ApiMethod.USER_GETLOGGEDINUSER.getMethodName(), API_NORMAL);	//user.getLoggedInUser 正常
    METHOD_CONFIG.put(ApiMethod.USER_ISFRIEND.getMethodName(), API_NORMAL);	//user.isFriend 正常
    METHOD_CONFIG.put(ApiMethod.USER_ISVIP.getMethodName(), API_NORMAL);	//user.isVip 正常
    METHOD_CONFIG.put(ApiMethod.USER_ISLOGIN.getMethodName(), API_NORMAL);	//user.isLogin 正常
    METHOD_CONFIG.put(ApiMethod.FILTER_WORD.getMethodName(), API_NORMAL);	//filter_word 正常
    METHOD_CONFIG.put(ApiMethod.PAY_BUYGOODS.getMethodName(), API_NORMAL);	//pay.buyGoods 正常
}


}
